﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="hyuan.aspx.cs" Inherits="hyuan" %>

<%@ Register src="common/top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="common/foot.ascx" tagname="foot" tagprefix="uc2" %>

<%@ Register src="common/menu-index1.ascx" tagname="menu" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="天台高佳计算机科技有限公司、平桥镇中小企业生产力促进中心">
<meta name="description" content="平桥镇中小企业生产力促进中心、生产力促进中心、中国过滤布名城、天台县平桥镇、平桥镇、全国工业用布集散地">
<meta name="keywords" content="平桥镇中小企业生产力促进中心|生产力促进中心|中国过滤布名城|天台县平桥镇|平桥镇|全国工业用布集散地">
<title>天台县平桥镇中小企业生产力促进中心</title>
<link href="css/css_whir.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>
    <form id="form1" runat="server">
   <!--top-->
 <uc1:top ID="top1" runat="server" />
<!--top-end-->
   
<div class="mainbox">
	<!--left-->
    <div class="rightbox" style="float:left;">
    
    	
        
        <uc3:menu ID="menu1" runat="server" />
    
    	
        
    </div>
    <!--left-end-->    
    
    <!--right-->

    <div class="neibox">
    	<h1 class="cenbox_h1 neibox_h1"><asp:Literal ID="ltrTips" runat="server"></asp:Literal></h1>
<%if (select == 1)
  { %> 
          <table width="90%" class="add_table" align="center" border="0" cellspacing="0" cellpadding="0">
          <tr class="add_table_tr">
            <td width="10%">序号</td>
            <td width="40%">咨询标题</td>
            <td width="17%">咨询人</td>
            <td width="15%">咨询时间</td>
            <td width="18%">处理状态</td>
          </tr><asp:Repeater ID="rptList" runat="server"><ItemTemplate>
          <tr>
            <td class="add_table_cen"><%# Container.ItemIndex + 1%></td>
            <td><a href="hyuan_info.aspx?cid=<%= _cid %>&id=<%# Eval("Whir_U_Message_PID") %>"><%# Eval("Title")%></a></td>
            <td class="add_table_cen"><%# Eval("Person")%></td>
            <td class="add_table_cen" ><%# Convert.ToDateTime(Eval("CreateDate").ToString()).ToString("yyyy-MM-dd") %></td>
            <td class="add_table_cen"><%# string.IsNullOrEmpty(Eval("IsHandle").ToString())==true?"未处理":Eval("IsHandle").ToString() %></td>
          </tr>  </ItemTemplate></asp:Repeater>
        </table>

<div class="page page"><webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CssClass="f-gray"
                CustomInfoHTML="目前在第<font color=red>%currentPageIndex%</font>页,共有<font color=red>%PageCount%</font>页,共有<font color=red>%RecordCount%</font>条记录&nbsp;&nbsp;&nbsp;&nbsp;"
                FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页"  OnPageChanged="AspNetPager1_PageChanged1"
                PageSize="4"  ShowCustomInfoSection="Left" ShowInputBox="Always"
                ShowPageIndex="False" Width="98%" SubmitButtonText="跳转">
            </webdiyer:AspNetPager></div>
<%} %>

        <div class="ly">
<table width="694" border="0" cellspacing="0" cellpadding="0">
<%if (select == 1)
  { %>  
<tr >
    <td width="92" height="35" align="right" style="padding-right:10px;">公司名称：</td>
    <td><input type="text" 
            style=" width:292px; height:22px; line-height:22px; color:#666; border:1px solid #C7C7C7; padding-left:3px;" 
            id="txtCompany" runat="server" /> <font class="rcolor">*</font></td>
  </tr>
<%} %>
  <tr>
    <td width="92" height="35" align="right" style="padding-right:10px;">姓名:</td>
    <td><input type="text" style=" width:292px; height:22px; line-height:22px; color:#666; border:1px solid #C7C7C7; padding-left:3px;" id="txtName" runat="server" /><font class="rcolor">*</font></td>
  </tr>
  <tr>
    <td height="35" align="right" style="padding-right:10px;">联系电话:</td>
    <td><input type="text" style=" width:292px; height:22px; line-height:22px; color:#666; border:1px solid #C7C7C7; padding-left:3px;" id="txtTel" runat="server" /><font class="rcolor">*</font></td>
  </tr>
  <tr>
    <td height="35" align="right" style="padding-right:10px;">Email:</td>
    <td><input type="text" 
            style=" width:293px; height:22px; line-height:22px; color:#666; border:1px solid #C7C7C7; padding-left:3px;" 
            id="txtEmail" runat="server" /><font class="rcolor">*</font></td>
  </tr>
<tr>
    <td height="35" align="right" style="padding-right:10px;">主题:</td>
    <td><input type="text" 
            style=" width:565px; height:22px; line-height:22px; color:#666; border:1px solid #C7C7C7; padding-left:3px;" 
            id="txtSubject" runat="server" /><font class="rcolor">*</font></td>
  </tr>
  <tr>
    <td height="11" align="right" style="padding-right:10px;">留言:</td>
    <td><textarea name="textarea" 
            
            style="width:565px; height:123px; line-height:22px; color:#666; border:1px solid #C7C7C7;" 
            id="txtContent" runat="server"></textarea><font class="rcolor">*</font></td>
  </tr>
  <tr>
    <td height="10">&nbsp;</td>
    <td height="50"><asp:ImageButton ID="ImageButton1" runat="server" 
            ImageUrl="images/tj_11.jpg" onclick="ImageButton1_Click" OnClientClick="return checkForm();" /></td>
  </tr>
</table>

</div>
        <div class="clear"></div> 
        <%--<ul class="addsb4">
        	<li><a href="#">科技项目申报</a></li>
            <li><a href="#">科技项目结题</a></li>
            <li><a href="#">中小企业融资</a></li>
            <li><a href="#">知识产权服务</a></li>
        </ul>--%>
        
        <br />
        <br />  
        
    </div>    
    <!--right-end-->
    
    <div class="clear"></div>  
</div>

<!--bottom-->
<uc2:foot ID="foot1" runat="server" />
<!--bottom-end-->

<script src="Script/Validate.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    function checkForm(){
        var vs = [ 
<%if (select == 1){ %>
 "txtCompany|noNull|请输入公司名称！",
<%} %>
        "txtName|noNull|请输入姓名！",
         "txtTel|noNull|请输入电话！",
         "txtEmail|noNull|请输入电子邮箱！",
        "txtEmail|email|请输入正确的邮箱地址！",
        "txtSubject|noNull|请输入主题！", 
        "txtContent|noNull|请输入留言内容！"]; 

        if(Validator(vs))
           return true;
        else
            return false;    
    }

</script> 
    </form>
</body>
</html>
